package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 能耗记录对象 dispatchEnergyConsumptionRecords
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchEnergyConsumptionRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 能耗记录编号 */
    private Long energyConsumptionRecordsId;

    /** 站点编号 */
    @Excel(name = "站点编号")
    private Long siteId;

    /** 能耗记录的日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "能耗记录的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 该站点当日的电量消耗 */
    @Excel(name = "该站点当日的电量消耗")
    private BigDecimal electricityConsumption;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal electricityCost;

    public void setEnergyConsumptionRecordsId(Long energyConsumptionRecordsId) 
    {
        this.energyConsumptionRecordsId = energyConsumptionRecordsId;
    }

    public Long getEnergyConsumptionRecordsId() 
    {
        return energyConsumptionRecordsId;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }
    public void setElectricityConsumption(BigDecimal electricityConsumption) 
    {
        this.electricityConsumption = electricityConsumption;
    }

    public BigDecimal getElectricityConsumption() 
    {
        return electricityConsumption;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setElectricityCost(BigDecimal electricityCost) 
    {
        this.electricityCost = electricityCost;
    }

    public BigDecimal getElectricityCost() 
    {
        return electricityCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("energyConsumptionRecordsId", getEnergyConsumptionRecordsId())
            .append("siteId", getSiteId())
            .append("recordDate", getRecordDate())
            .append("electricityConsumption", getElectricityConsumption())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("electricityCost", getElectricityCost())
            .toString();
    }
}
